{{ if .Site.Params.docs_right_sidebar }}
<div class="right-nav" id="right-nav">
    <div class="right-nav-content">
        <ul class="buttons">
            {{ if (or .IsNode .IsPage) }}
                {{ $issueBody := printf "**On Page:** [%s](%s)" .Permalink .Permalink | htmlEscape }}
                {{ $issueQuery := (querify "title" "Documentation Issue from sonobuoy.io" "body" $issueBody) }}
                <li><a href="{{ $.Site.Params.github_base_url }}/issues/new?{{ $issueQuery | safeURL }}" target="_blank">Report Issues</a></li>
            {{ end }}
        </ul>
        {{ if ne .TableOfContents "<nav id=\"TableOfContents\"></nav>" }}
            <h4 class="strong">On this page:</h4>
            {{ .TableOfContents }}
        {{ end }}
    </div>
</div>
{{ end }}
